﻿using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using FwProject.Com.Dto;
using FwProject.ShoppingMall.Com;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace FwProject.AppHome.Dto
{
    [AutoMap(typeof(ShopAdDto))]
    public  class HomeBanner : EntityDto<Guid>
    {
        /// <summary>
        /// 广告名称
        /// </summary>
        [Display(Name = "广告名称")]
        public string AdName { get; set; }

        /// <summary>
        /// 图片logo
        /// </summary>
        [Display(Name = "图片logo")]
        public string PicLogo { get; set; }

        /// <summary>
        /// 图片打开的网页路径
        /// </summary>
        [Display(Name = "路径")]
        public string HttpUrl { get; set; }

        /// <summary>
        /// 广告详细内容
        /// </summary>
        [Display(Name = "广告详细内容")]
        public string ContentDetails { get; set; }

        /// <summary>
        /// 广告类型
        /// </summary>
        [Display(Name = "广告类型")]
        public AdType AdType { get; set; } = AdType.网页;

        /// <summary>
        /// json来源
        /// </summary>
        [Display(Name = "json来源")]
        public string JsonSource { get; set; }

    }
}
